/troubleTicket/{id}
[PATCH]
To update contact or appointment details or queue,status,comment and closing comments in ACUT from Salesforce.
URL
https://nonprod.lc.esb.cloud.lla.com/test/sfdc-ux/sfdc-ux/v1/JM/troubleTicket/{id}
URI Params
| Name | Type | Description | Required |
|---|
| businessId | String | 2 letter ISO 3166 country code (CO, HN, CR, DO, SV, GT, WHS etc.) identifying the business unit. Expected:JM,AI,AG,VG,KY,DM,GD,MS,KN,LC,VC,TC | Y |
| id | String | ACUT Ticket Number | Y |
| Name | Type | Description | Required |
|---|
| client_id | string | The client_id identifying the channel. Minimum characters: 5 | Y |
| client_secret | string | Password associated with the client_id. Minimum characters: 5 | Y |
| X-Correlation-ID | string | Identifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction. | Y |
Body Definitions
| Name | Type | Description | Required |
|---|
| ticketType | string | TickeType : PHONE/DSL/IPTV | Y |
| channel.id | string | Channel Id | Y |
| channel.name | string | Channel Name | Y |
| relatedParty[0].id | string | Salesforce contact id | Y |
| relatedParty[0].name | string | Contact Name | N |
| relatedParty[0].@schemaLocation | string | Default: https://github.com/tmforum-apis/Open_Api_And_Data_Model/blob/master/schemas/EngagedParty/RelatedPartyWithContactInfo.schema.json | Y* |
| relatedParty[0].@type | string | Default: RelatedPartyWithContactInfo | Y* |
| relatedParty[0].role | string | Default:contact | Y* |
| relatedParty[0].@referredType | string | Default: Individual | Y* |
| relatedParty[0].contactMedium[].@referredType | string | Default: TelephoneMedium | Y* |
| relatedParty[0].contactMedium[].mediumType | string | Default: TelephoneNumber | Y* |
| relatedParty[0].contactMedium[].characteristic.phoneNumber | string | Contact Phone | Y* |
| relatedParty[1].id | string | Salesforce contact id | Y |
| relatedParty[1].name | string | Alternate Contact Name | N |
| relatedParty[1].@schemaLocation | string | Default: https://github.com/tmforum-apis/Open_Api_And_Data_Model/blob/master/schemas/EngagedParty/RelatedPartyWithContactInfo.schema.json | Y* |
| relatedParty[1].@type | string | Default: RelatedPartyWithContactInfo | Y* |
| relatedParty[1].role | string | Default: alternateContact | Y* |
| relatedParty[1].@referredType | string | Default: Individual | Y* |
| relatedParty[1].contactMedium[].@referredType | string | Default: TelephoneMedium | Y* |
| relatedParty[1].contactMedium[].mediumType | string | Default: TelephoneNumber | Y* |
| relatedParty[1].contactMedium[].characteristic.phoneNumber | string | Contact Phone | Y* |
| relatedParty[2].id | string | Salesforce User id | Y |
| relatedParty[2].name | string | User Name | N |
| relatedParty[2].@schemaLocation | string | Default: https://github.com/tmforum-apis/Open_Api_And_Data_Model/blob/master/schemas/EngagedParty/RelatedPartyWithContactInfo.schema.json | Y* |
| relatedParty[2].@type | string | Default: RelatedPartyWithContactInfo | Y* |
| relatedParty[2].role | string | Default: user | Y* |
| relatedParty[2].@referredType | string | Default: Individual | Y* |
| relatedParty[2].contactMedium[].@referredType | string | Default: EmailMedium | Y* |
| relatedParty[2].contactMedium[].mediumType | string | Default: EmailAddress | Y* |
| relatedParty[2].contactMedium[].characteristic.emailAddress | string | Email address of user | Y* |
Sample request
{
"ticketType": "DSL",
"channel": {
"id": "SALESFORCE",
"name": "SALESFORCE123"
},
"relatedParty": [
{
"id": "003dq000004yL0rAAE",
"name": "KELLY",
"@schemaLocation": "https://github.com/tmforum-apis/Open_Api_And_Data_Model/blob/master/schemas/EngagedParty/RelatedPartyWithContactInfo.schema.json",
"@type": "RelatedPartyWithContactInfo",
"role": "contact",
"@referredType": "Individual",
"contactMedium": [
{
"@referredType": "TelephoneMedium",
"mediumType": "TelephoneNumber",
"characteristic": {
"phoneNumber": "8879541292"
}
}
]
},
{
"id": "003dq000004yL0rAAE",
"name": "JELLY",
"role": "alternateContact",
"@schemaLocation": "https://github.com/tmforum-apis/Open_Api_And_Data_Model/blob/master/schemas/EngagedParty/RelatedPartyWithContactInfo.schema.json",
"@type": "RelatedPartyWithContactInfo",
"@referredType": "Individual",
"contactMedium": [
{
"@referredType": "TelephoneMedium",
"mediumType": "TelephoneNumber",
"characteristic": {
"phoneNumber": "8763710888"
}
}
]
},
{
"id": "003dq000004yL0rAAE",
"name": "Juliet Kelvin",
"role": "user",
"@schemaLocation": "https://github.com/tmforum-apis/Open_Api_And_Data_Model/blob/master/schemas/EngagedParty/RelatedPartyWithContactInfo.schema.json",
"@type": "RelatedPartyWithContactInfo",
"@referredType": "Individual",
"contactMedium": [
{
"@referredType": "EmailMedium",
"mediumType": "EmailAddress",
"characteristic": {
"emailAddress": "juliet@abc.com"
}
}
]
}
]
}
Sample response
{
"ticketType": "DSL",
"channel": {
"id": "SALESFORCE",
"name": "SALESFORCE123"
},
"relatedParty": [
{
"id": "003dq000004yL0rAAE",
"name": "KELLY",
"@schemaLocation": "https://github.com/tmforum-apis/Open_Api_And_Data_Model/blob/master/schemas/EngagedParty/RelatedPartyWithContactInfo.schema.json",
"@type": "RelatedPartyWithContactInfo",
"role": "contact",
"@referredType": "Individual",
"contactMedium": [
{
"@referredType": "TelephoneMedium",
"mediumType": "TelephoneNumber",
"characteristic": {
"phoneNumber": "8879541292"
}
}
]
},
{
"id": "003dq000004yL0rAAE",
"name": "JELLY",
"role": "alternateContact",
"@schemaLocation": "https://github.com/tmforum-apis/Open_Api_And_Data_Model/blob/master/schemas/EngagedParty/RelatedPartyWithContactInfo.schema.json",
"@type": "RelatedPartyWithContactInfo",
"@referredType": "Individual",
"contactMedium": [
{
"@referredType": "TelephoneMedium",
"mediumType": "TelephoneNumber",
"characteristic": {
"phoneNumber": "8763710888"
}
}
]
},
{
"id": "003dq000004yL0rAAE",
"name": "Juliet Kelvin",
"role": "user",
"@schemaLocation": "https://github.com/tmforum-apis/Open_Api_And_Data_Model/blob/master/schemas/EngagedParty/RelatedPartyWithContactInfo.schema.json",
"@type": "RelatedPartyWithContactInfo",
"@referredType": "Individual",
"contactMedium": [
{
"@referredType": "EmailMedium",
"mediumType": "EmailAddress",
"characteristic": {
"emailAddress": "juliet@abc.com"
}
}
]
}
]
}
Appointment Details update
Body Definitions
| Name | Type | Description | Required |
|---|
| ticketType | string | TickeType : PHONE/DSL/IPTV | Y |
| channel.id | string | Channel Id | Y |
| channel.name | string | Channel Name | Y |
| relatedEntity[0].id | string | Salesforce appointment id | Y |
| relatedEntity[0].description | string | Reason for the appointment | Y |
| relatedEntity[0].validFor.startDateTime | datetime | Start datetime of appointment | Y |
| relatedEntity[0].validFor.endDateTime | datetime | End datetime of appointment | Y |
| relatedEntity[0].note[0].text | string | Comments for the appointment | N |
| relatedEntity[0].note[0].@type | string | Default: Note | Y* |
| relatedEntity[0].role | string | Default: requestedAppointment | Y |
| relatedEntity[0].@type | string | Default: RelatedEntity | Y |
| relatedEntity[0].@referredType | string | Default: Appointment | Y |
Sample request
{
"ticketType": "DSL",
"channel": {
"id": "SALESFORCE",
"name": "SALESFORCE123"
},
"relatedEntity": [
{
"id": "00Tdq000006UkI5EAK",
"description": "CUSTOMER REQUESTED",
"validFor": {
"startDateTime": "2025-12-05T08:30:00.000+05:30",
"endDateTime": "2025-12-05T12:30:00.000+05:30"
},
"note": [
{
"text": "updating appointment to another slot",
"@type": "Note"
}
],
"role": "requestedAppointment",
"@type": "RelatedEntity",
"@referredType": "Appointment"
}
]
}
Sample response
{
"ticketType": "DSL",
"channel": {
"id": "SALESFORCE",
"name": "SALESFORCE123"
},
"relatedEntity": [
{
"id": "00Tdq000006UkI5EAK",
"description": "CUSTOMER REQUESTED",
"validFor": {
"startDateTime": "2025-12-05T08:30:00.000+05:30",
"endDateTime": "2025-12-05T12:30:00.000+05:30"
},
"note": [
{
"text": "updating appointment to another slot",
"@type": "Note"
}
],
"role": "requestedAppointment",
"@type": "RelatedEntity",
"@referredType": "Appointment"
}
]
}
Body Definitions
| Name | Type | Description | Required |
|---|
| ticketType | string | TickeType : PHONE/DSL/IPTV | Y |
| channel.id | string | Channel Id | Y |
| channel.name | string | Channel Name | Y |
| relatedEntity[0].id | string | Assigned group Id/ Queue Id | N |
| relatedEntity[0].role | string | Default: AssignedGroup | Y* |
| relatedEntity[0].@referredType | datetime | Default: Organization | Y* |
| troubleTicketCharacteristic[0].name | datetime | Default: externalStatus | Y* |
| troubleTicketCharacteristic[0].value | string | Status of ticket | Y |
| note[0].id | string | Default: ClosingComment | Y* |
| note[0].text | string | Closing comment | Y |
| note[0].@type | string | Default: Note | Y* |
| note[0].id | string | Default: Comment | Y* |
| note[0].text | string | Comment of the ticket | N |
| note[0].@type | string | Default: Note | Y* |
Sample request
{
"ticketType": "DSL",
"channel": {
"id": "SALESFORCE",
"name": "SALESFORCE123"
},
"relatedEntity": [
{
"id": "O",
"role": "AssignedGroup",
"@referredType": "Organization"
}
],
"troubleTicketCharacteristic": [
{
"name": "externalStatus",
"value": "assigned"
}
],
"note": [
{
"id": "ClosingComment",
"text": "This is closing comment",
"@type": "Note"
},
{
"id": "Comment",
"text": "Added new comments",
"@type": "Note"
}
]
}
Sample response
{
"ticketType": "DSL",
"channel": {
"id": "SALESFORCE",
"name": "SALESFORCE123"
},
"relatedEntity": [
{
"id": "O",
"role": "AssignedGroup",
"@referredType": "Organization"
}
],
"troubleTicketCharacteristic": [
{
"name": "externalStatus",
"value": "assigned"
}
],
"note": [
{
"id": "ClosingComment",
"text": "This is closing comment",
"@type": "Note"
},
{
"id": "Comment",
"text": "Added new comments",
"@type": "Note"
}
]
}